/*
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2024-06-03 22:57:27
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2024-06-04 23:11:30
 * @FilePath: /chat-ai-plus/src/main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createSSRApp } from "vue";
import App from "./App.vue";
import UViewPlus from 'uview-plus';
import UViewUI from './uview';
import i18n from './i18n/index';
import { createPinia } from "pinia";
import piniaPluginPersist from "pinia-plugin-persist";
const pinia = createPinia();
pinia.use(piniaPluginPersist);
import './uni.scss'
import './styles/index.scss'
import 'bootstrap/dist/css/bootstrap-grid.min.css'



export function createApp() {
  const app = createSSRApp(App);
  app.use(pinia);
  app.use(UViewPlus);
  app.use(UViewUI);
  app.use(i18n)
  return {
    app,
  };
}
